<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:useBean id="othhome1" scope="session" class="software.Use_user"/>
<jsp:useBean id="othhome2" scope="session" class="software.Fri_done"/>
<jsp:useBean id="othhome3" scope="session" class="software.Mes_function"/>
 <jsp:useBean id="othhome4" class="software.Paination" scope="session"/>
<%@ page language="java" import="software.Mes_data"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>
   主页 
    </title>
  </head>
<body>
<%int IDoth=0;
	int mk1=Integer.parseInt(request.getParameter("mk"));
	if(mk1==1){
     String IDoth1=session.getAttribute("IDoth").toString();
      IDoth=Integer.parseInt(IDoth1);
     }
     else
     {
    IDoth=Integer.parseInt(request.getParameter("IDoth"));
     session.setAttribute("IDoth",IDoth);
     }
    String Id=session.getAttribute("IDsel").toString();
 	int IDseloth=Integer.parseInt(Id);
    othhome1.setId(IDoth);
    String Name1=othhome1.getName();
    %>
    <h3>欢迎光临<%=Name1%>的主页<font color="red" size="15"></font></h3>
<a href="selhome_main.jsp">返回我的主页</a>
<a href="othhome_friend.jsp?IDoth=<%=IDoth%>&IDseloth=<%=IDseloth%>">我的好友</a>
<br>
<a href="othhome_message.jsp?IDoth=<%=IDoth%>&IDseloth=<%=IDseloth%>">我的空间留言</a>

<%@ include file="editor.jsp"%> 
</BODY> 
</html>